package ws.jdbc.concurrent.driver.sqlserver.tds.datatypes;

/**
 * Fundamental definitions.
 * 
 * <a href="http://msdn.microsoft.com/en-us/library/dd341265">Reference</a>
 *
 * @author Wilson Santos, 36228 <wilson.santos@ua.pt>
 */
public final class GeneralRules {

  /** A single byte (8-bit) value representing a T-SQL NULL value. */
  public static final byte GEN_NULL = 0X00;
  /** A 2-byte (16-bit) value representing a T-SQL NULL value for a character or binary data type. */
  public static final short CHARBIN_NULL_2 = (short) 0xFFFF;
  /** A 4-byte (32-bit) value representing a T-SQL NULL value for a character or binary data type. */
  public static final int CHARBIN_NULL_4 = 0xFFFFFFFF;

  /**
   * Prevent instantiation.
   */
  private GeneralRules() {
  }
}
